const main = require('../main/main');

describe('taxi fee', function () {
   it("kilometer=5 and no waittime",function(){
         let kilometer=5;
         let waittime=0;
         let fare=main(kilometer,waittime);
         expect(fare).toBe(8);
         
   }); 
   it("kilometer=9 and waittime=10min",function(){
       let kilometer=9;
       let waittime=10;
       let fare=main(kilometer,waittime);
       expect(fare).toEqual(15);
   });
   it("kilometer=2and waittime=10min",function(){
    let kilometer=2;
    let waittime=10;
    let fare=main(kilometer,waittime);
    expect(fare).toEqual(9);
});// write your tests here...
});
